<TagAttribute("meter","metr","????","????",1,172)>
Public Class METER_TAG
Inherits HaloTag
Public Const Extension as String = "meter"
Public Const FourCC as String = "metr"
Public Const ParentFourCC as String = "????"
Public Const GrandParentFourCC as String = "????"
Public Const [Version] as Short = 1
Public Const HeaderLength as Integer = 172

''' <summary>
''' 
''' </summary>
<TagField("flags", 1, 20)>
Public flags as Integer

''' <summary>
''' two bitmaps specifying the mask and the meter levels
''' </summary>
<TagField("stencil bitmaps", 16, 10)>
Public stencil_bitmaps as New TAG_REFERENCE

''' <summary>
''' optional bitmap to draw into the unmasked regions of the meter (modulated by the colors below)
''' </summary>
<TagField("source bitmap", 16, 10)>
Public source_bitmap as New TAG_REFERENCE

''' <summary>
''' 
''' </summary>
<TagField("stencil sequence index", 1, 23)>
Public stencil_sequence_index as Short

''' <summary>
''' 
''' </summary>
<TagField("source sequence index", 1, 23)>
Public source_sequence_index as Short

''' <summary>
''' 
''' </summary>
<TagField("", 16, -1)>
Public padding as Byte()

''' <summary>
''' 
''' </summary>
<TagField("", 4, -1)>
Public padding_1 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("interpolate colors...", 1, 17)>
Public interpolate_colors as Short

''' <summary>
''' 
''' </summary>
<TagField("anchor colors...", 1, 17)>
Public anchor_colors as Short

''' <summary>
''' 
''' </summary>
<TagField("", 8, -1)>
Public padding_2 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("empty color", 4, 3)>
Public empty_color as Single()

''' <summary>
''' 
''' </summary>
<TagField("full color", 4, 3)>
Public full_color as Single()

''' <summary>
''' 
''' </summary>
<TagField("", 20, -1)>
Public padding_3 as Byte()

''' <summary>
''' fade from fully masked to fully unmasked this distance beyond full (and below empty)
''' </summary>
<TagField("unmask distance:meter units", 1, 0)>
Public unmask_distance as Single

''' <summary>
''' fade from fully unmasked to fully masked this distance below full (and beyond empty)
''' </summary>
<TagField("mask distance:meter units", 1, 0)>
Public mask_distance as Single

''' <summary>
''' 
''' </summary>
<TagField("", 20, -1)>
Public padding_4 as Byte()

''' <summary>
''' 
''' </summary>
<TagField("encoded stencil", 1, 22)>
Public encoded_stencil as New DATA_CONTAINER

End Class
